/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hxg.portmgr.core.oper.snmp.oidgroup.snmpPing;

import hxg.portmgr.core.oper.snmp.oidgroup.OidEntry;
import hxg.portmgr.core.oper.snmp.param.Param;
import org.snmp4j.smi.OID;

/**
 *
 * @author hxg
 */
public enum SnmpResults implements OidEntry {

    pingResultsOperStatus(new OID("1.3.6.1.2.1.80.1.3.1.1")),
    pingResultsIpTargetAddressType(new OID("1.3.6.1.2.1.80.1.3.1.2")),
    pingResultsIpTargetAddress(new OID("1.3.6.1.2.1.80.1.3.1.3")),
    pingResultsMinRtt(new OID("1.3.6.1.2.1.80.1.3.1.4")),
    pingResultsMaxRtt(new OID("1.3.6.1.2.1.80.1.3.1.5")),
    pingResultsAverageRtt(new OID("1.3.6.1.2.1.80.1.3.1.6")),
    pingResultsProbeResponses(new OID("1.3.6.1.2.1.80.1.3.1.7")),
    pingResultsSentProbes(new OID("1.3.6.1.2.1.80.1.3.1.8")),
    pingResultsRttSumOfSquares(new OID("1.3.6.1.2.1.80.1.3.1.9")),
    pingResultsLastGoodProbe(new OID("1.3.6.1.2.1.80.1.3.1.10"));

    private SnmpResults(OID oid) {
        this.oid = oid;
    }
    final OID oid;

    @Override
    public OID getOID() {
        return oid;
    }

    @Override
    public String oidValue() {
        return oid.toString();
    }

    @Override
    public OID getAppendOID(OID appendOid) {
        return (new OID(oid)).append(appendOid);
    }

    @Override
    public Param getParamType() {
        return null;
    }
}
